@import '~antd/dist/antd.css';

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  overflow: hidden;
  min-height: 100vh;
}
.rootWrap{
  min-height: 100vh;
}
.contentWrap{
  min-height: 100vh;
}

.leftSearchBar .ant-btn{
  padding:0;
  width: 100%;
}

.cartBtn,
.cartBtn:active {
  position: fixed;
  padding: 0;
  top: 0;
  right: 0;
  z-index: 999;
  box-sizing: border-box;
  width: 5vw;
  height: 5vw;
  font-size: 4vw;
  line-height: 5vw;
  text-align: center;
}

.cartWrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.cartList {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  min-height: 280px;
  padding-bottom: 120px;
}

.cartList::-webkit-scrollbar {
  /* -webkit-appearance: none; */
  width: 10px;
  padding: 10px;
}

.cartFoot {
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  z-index: 2;
  background-color: rgb(250, 250, 250);
}

.cartFoot::before {
  content: '';
  width: 100%;
  height: 20px;
  display: block;
  position: absolute;
  top: -20px;
  left: 0;
  background: linear-gradient(to top, rgba(200, 200, 200, 0.2), transparent);
}

.cartItem {
  position: relative;
}

.cartItemImg {
  width: 5vw;
  height: 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cartItemImg img {
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.cartItemCountCtl {
  padding: 0;
  font-size: 12px;
  width: 2vw;
  height: 2vw;
  line-height: 2vw;
}

.carItemPricePanel {
  display: flex;
  font-size: 1.3vw;
  line-height: 2.5vw;
}

.carItemPrice {
  width: 7vw;
  text-align: center;
  color: #eabf00;
}

.cartItemRemove {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  background-color: transparent;
  padding: 0;
  margin-left: 5px;
  width: 1.9vw;
  height: 1.9vw;
}


.cartFootCalcWrap {
  display: flex;
  justify-content: space-between;
  margin: 5% 5% 0;
}

.cartFootCalcP {
  display: flex;
  flex-direction: column;
}

.cartFootCalcPrice {
  color: #eabf00;
  font-size: 22px;
}


.cartFootCheckout {
  display: flex;
  margin-top: 10px;
}

.cartFootCheckout button {
  width: 100%;
}



.checkProductSize {
  text-align: center;
  padding:0 0.3vw !important;
}



.cartWrap{
  display: flex;
  justify-content: center;
}
.cartWrapRow{
  max-width: 1024px;
  margin:auto;
}

.productItem{
  width:150px;
  height:333px;
  font-size:16px;
}
@media screen and (min-width: 768px) {
  .productItem{
    width:150px;
    height:333px;
    font-size:16px;
  }
}
@media screen and (min-width: 1200px) {
  .productItem{
    width:150px;
    height:333px;
    font-size:16px;
  }
}

.productCart{
  cursor:default !important;
  width:100%;
  height:100%;
  margin:auto;
}
.productCart .ant-card-body{
  height:37%;
}
.productCart .productRTag {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  color:#fff;
  background-color: #000;
  border:none;
}

.productCart .ant-card-cover{
  width:100%;
  height:53%;
}
.productCart .ant-card-cover img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.productCart .productTitle{
  word-break: break-all;
  word-wrap: break-word; 
  white-space:break-spaces;
  font-size: 1em;
  line-height: 1.2em;
  font-weight: 600;
  text-align: center;
  height:32%;
}
.productCart .productSizes{
  height:21%;
}
.productCart .productPrices{
  text-align: center;
  color:#000;
  height:18%;
  font-size: 1em;
}
.productCart .productPrices b{
  font-weight: 600;
  font-size: 1.2em;
}
.productCart .productInstallment{
  text-align: center;
  height:19.5%;
}
.productCart .productInstallment b{
  font-weight: 400;
}
.productCart .ant-card-actions li{
  margin:0;
}
.productCart .ant-card-body{
  padding:2%;
}
.productCart .btnAddToCart {
  font-size: 2em !important;
  margin:2% 0;
}
.productCart .ant-tag{
  padding:0;
}
.productCart.skeleton .productTitle{
  border-bottom:1px solid #eee;
}
.productCart.skeleton .productSizes{
  border-bottom:1px solid #eee;
}
.productCart.skeleton .productPrices{
  border-bottom:1px solid #eee;
}
.productCart.skeleton .productInstallment{
  border-bottom:1px solid #eee;
}

.ant-layout-content{
  position: relative;
}

.productLoading{
  position: fixed;
  width:100vw;
  height:100vh;
  left:0;
  top: 0;
  z-index: 999;
  background-color:rgba(0, 0, 0, 0.2);
}
.bigCenter{
  position: absolute;
  left:calc(50vw - 25px);
  top:calc(50vh - 25px);
  font-size: 50px;
}